Example of operation: Control Loop Data

A new dataset with the control loop data that you selected while configuration will be created. The resulting dataset will have tags that you selected for each loop as columns.

Initial dataset

Loop 1 with 15 seconds sampling period

Timestamp Tag_PV Loop_P
7/5/2022  6:15:43.300 PM      0 86
7/5/2022  6:15:58.300 PM  10 50
7/5/2022  6:16:13.300 PM 25 30

Loop 2 with 10 seconds sampling period

Timestamp Tag_PV Loop_P
7/5/2022  6:15:45.500 PM      5 8
7/5/2022  6:15:55.500 PM  12 20
7/5/2022  6:16:05.500 PM 11 18

Example 1: Resampling is Auto

If you select this option, control loop data is resampled using the sampling rate available on the selected control loops.  All data are resampled using the control loop with the smallest sampling period. Here in this example, the lowest sampling period is 10 seconds. 

Configuration

Loops selected- Loop 1 and Loop 2

Tags selected - Tag_PV, Loop_P

Time Window- In this example, the import operation was executed on 7/5/2022 at 7 PM and the time window selected was Last 1 hour.

Resampling - Auto (Use smallest sampling period on selected loops)

Resulting dataset

Timestamp Loop1_Tag_PV Loop1_Loop_P Loop2_Tag_PV Loop2_Loop_P
7/5/2022  6:15:43 PM 0 86    
7/5/2022  6:15:53 PM 0 86 5 8
7/5/2022  6:16:03 PM 10 50 12 20
7/5/2022  6:16:13 PM 25 30 11 18
7/5/2022  6:16:23 PM 25 30 11 18
7/5/2022  6:16:33 PM 25 30 11 18
Will list all data till the current timestamp. 

NOTE: In this example, since the Loop 2 did not have any data on 7/5/2022 at 6:15:43 PM, the dataset contains empty Loop2_Tag_PV and Loop2_Loop_P columns for that period. However, if there was data available before 6:15:43 PM, the dataset would have contained that data, like what you see for the timestamp 7/5/2022 6:16:23 PM. 

Example 2: Resampling is None

If you select this option, no resampling will be applied to the imported dataset and all the raw data for each control loop will be included in the dataset.

Configuration

Loops selected- Loop 1 and Loop 2

Tags selected - Tag_PV, Loop_P

Time Window- In this example, the import operation was executed on 7/5/2022 at 7 PM and the time window selected was Last 1 hour.

Resampling - None

Resulting dataset

Timestamp Loop1_Tag_PV Loop1_Loop_P Loop2_Tag_PV Loop2_Loop_P
7/5/2022  6:15:43.300 PM  0 86    
7/5/2022  6:15:45.500 PM 0 86 5 8
7/5/2022  6:15:55.500 PM 0 86 12 20
7/5/2022  6:15:58.300 PM 10 50 12 20
7/5/2022  6:16:05.500 PM 10 50 11 18
7/5/2022  6:16:13.300 PM 25 30 11 18

The dataset returns all the available raw data based on the timestamp.

Example 3: Resampling is Custom

If you select this option, the Sampling Period (in sec) text field is enabled. You can type the required sampling period. All imported data will be resampled at the rate specified.

Configuration

Loops selected- Loop 1 and Loop 2

Tags selected - Tag_PV, Loop_P

Time Window- In this example, the import operation was executed on 7/5/2022 at 7 PM and the time window selected was Last 1 hour.

Resampling - Custom

Sampling Period (in sec)- 8 seconds

Resulting dataset

Timestamp Loop1_Tag_PV Loop1_Loop_P Loop2_Tag_PV Loop2_Loop_P
7/5/2022  6:15:43 PM 0 86    
7/5/2022  6:15:51 PM 0 86 5 8
7/5/2022  6:15:59 PM 10 50 12 20
7/5/2022  6:16:07 PM 10 50 11 18
7/5/2022  6:16:15 PM 25 30 11 18
7/5/2022  6:16:23 PM 25 30 11 18
7/5/2022  6:16:31 PM 25 30 11 18
Will list all data till the current timestamp.

The dataset returns all the available data for the selected sampling period.


Related topics:

 

  

CSense 2023- Last updated: June 24,2025